package com.cn.lyl.dao;

import com.cn.lyl.model.NewsTypeDependenceModel;

import java.util.List;

public interface NewsTypeDependenceDao {

    int add(NewsTypeDependenceModel NewsTypeDependenceModel);

    int update(NewsTypeDependenceModel NewsTypeDependenceModel);

    int delete(NewsTypeDependenceModel NewsTypeDependenceModel);

    NewsTypeDependenceModel findById(int id);

    List<NewsTypeDependenceModel> findAll(NewsTypeDependenceModel NewsTypeDependenceModel);
}
